package com.net.service.impl;

import com.net.dao.TestMapper;
import com.net.entity.City;
import com.net.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public List<City> getAllCity() {
        return testMapper.getAllCity();
    }
}
